﻿Public Class TheLoaiPhimBUS
    Public Function Insert(ByVal tmp As TheLoaiPhimDTO) As Integer
        Dim dao As TheLoaiPhimDAO = New TheLoaiPhimDAO()
        Return dao.Insert(tmp)
    End Function

    Public Function Update(ByVal tmp As TheLoaiPhimDTO) As Integer
        Dim dao As TheLoaiPhimDAO = New TheLoaiPhimDAO()
        Return dao.Update(tmp)
    End Function

    Public Function Delete(ByVal tmp As TheLoaiPhimDTO) As Integer
        Dim dao As TheLoaiPhimDAO = New TheLoaiPhimDAO()
        Return dao.Delete(tmp)
    End Function
    Public Function GetTable(ByVal t As String) As DataTable
        Dim dao As TheLoaiPhimDAO = New TheLoaiPhimDAO()
        Return dao.GetTable(t)
    End Function
    Public Function GetValue(ByVal t As String) As String
        Dim dao As TheLoaiPhimDAO = New TheLoaiPhimDAO()
        Return dao.GetValue(t)
    End Function
End Class
